trackingError
Type
message
Summary
Sent when sensor tracking could not be started or is terminated.
Syntax
trackingError <pSensor>, <pErrorMessage>
Description
The trackingError message is sent when sensor tracking could not be started or is terminated.
The trackingError message is sent to the current card of the default stack when sensor tracking could not be started or sensor tracking is terminated.
Parameters
Name | Type | Description |
---|---|---|
pSensor | enum | the name of the sensor that is the source of the error
|
pErrorMessage | The error message, giving the reason for the error |
Examples
on trackingError pSensor, pError
answer "There was an error with sensor" && pSensor
end trackingError
Related
command: mobileStopTrackingSensor, mobileStartTrackingSensor
message: accelerationChanged, rotationRateChanged, locationChanged, headingChanged
Compatibility and Support
Introduced
LiveCode 5.5
OS
ios
android
Platforms
mobile